//nastavenia
public Response VytvorKlienta(string uri) //Result_String <void>

public Response NastavPrihlasovacieUdaje(string userName, string password) //Result_String <void>

//messagesClient
public Response ZistiPodania(string formType) //Result_Object <string[]>
 
public Response ZistiPrilohyKPodaniu(string messageID)  //Result_Object <string[]>

public Response PrevezmiPodanie(string messageID) //Result_Object <Message>

public Response PrevezmiPrilohu(string attachmentID, string messageID) //Result_Object <Attachment>

public Response PotvrdPrevzatiePodania(string messageID, string rgistryID) //Result_String <void>

public Response VizualizaciaFormulara(string form) //Result_String

public Response OdosliNotifikaciu(string recipient, string subject, string body) //Result_String <void>

public Response VratXSDSchemu(string formType) //Result_String

public Response VratIdentitu(string eDeskID, string givenName, string familyName, string personalID, string corporateBodyID) //IdentityData

//paymentsClient
public Response VratPlatbu(int id) //Result_Object <Payment>

public Response VratZoznamPlatieb(IRSPServiceReference.Payment payment) //Result_Object <Payment[]>

public Response PosliPredpis(Payment payment) //Result_Int

public Response ZrusPredpis(int id) //Result_String <void>

public Response NastavPredpisZaplateny(int id) //Result_String <void>

//registryClient
public Response VytvorOdpoved(RegistryRecord registryRecord, RegistryCredentials registryCredentials) //Result_String

public Response VytvorSpis(RegistryFile registryFile, RegistryCredentials registryCredentials) //Result_String

public Response ZistiExistenciuSpisu(string id) //Result_Bool

public Response VlozZaznamDoSpisu(string recordID, string fileID) //Result_String <void>

public Response PripojPrilohuKZaznamu(string recordID, string path) //Result_String

public Response OdosliOdpoved(string registryID, string messageID, IRSPServiceReference.SendType sendType) //Result_String <void>

public Response ZistiExistenciuZaznamu(string id, IDType idType) //Result_Bool

public Response VratDetailOdpovede(string recordID) //Result_Object <Reply>

//registersClient
public Response VratDetailAdresy(int id) //Result_Object <PhysicalAddress>

public Response VratZoznamAdries(string search) //Result_Object <PhysicalAddress[]>

public Response VratDetailOsoby(int id) //Result_Object <PhysicalPerson>

public Response VratZoznamOsob(string search) //Result_Object <PhysicalPerson[]>

public Response OverAdresu(IRSPServiceReference.PhysicalAddress address) //Result_Int

public Response OverOsoby(IRSPServiceReference.PhysicalPerson person) //Result_Int

---

public Response Get_Attachment_Content_As_String(Attachment attachment) //Result_String

public Response Vyber_CustomParameter_Message(IRSPServiceReference.Message message, string key) //Result_String

public Response PridajParameterDoRegistryFile(RegistryFile registryFile, string key, string value) //Result_String <void>

public Response PridajParameterDoRegistryRecord(RegistryRecord registryRecord, string key, string value) //Result_String <void>

-------------------------------

TFile := OLEAutoObject{"vs2012lib.General.TFile"}
TFile.Create_String_From_Base64(Attachment.Content).result

Response - standardna navratova hodnota volanych metod
{
    int errorCode - cislo chyby
    string errorMessage - chybova hlaska
    object result - vysledok volania
}

Message := OLEAutoObject{"vs2012lib.IRSPServiceReference.Message"}
Message := VratTriedu_Message()

Message - trieda spravy z IISBA
{
    CustomParameters
    string MessageID - ID spravy
    string MessageType - typ spravy
    string RegistryCaseNumber - cislo konania
    string RegistryFileNumber - cislo spisu
    string RegistryRecordNumber - cislo zaznamu
    string SenderID - ID odosielatela
    string Subject - vec
}

Attachment := OLEAutoObject{"vs2012lib.IRSPServiceReference.Attachment"}
Attachment := VratTriedu_Attachment()

Attachment - priloha
{
    byte[] Content - obsah
    string FileName - nazov suboru
    string Id - ID prilohy
    bool IsForm - je formular ano/nie
    string MessageID - ID spravy
}

Payment := OLEAutoObject{"vs2012lib.IRSPServiceReference.Payment"}
Payment := VratTriedu_Payment()

Payment - predpis/platba
{
    decimal Amount - suma
    DateTime ApprovedDate - datum uhrady
    BankConnection BankConnection - bankove spojenie
    string Comment - poznamka
    string ConstantSymbol - konstantny symbol
    Currency Currency - mena
    string Description - popis
    DateTime DueDate - datum splatnosti
    decimal FeeAmount - suma poplatku
    Payer Payer - platitel
    string PaymentCode - volny parameter pre vyhladavanie (kod)
    int PaymentID - ID platby
    int PaymentMethodID - ID platobnej metody
    string RegistryFileNumber - cislo spisu
    string RegistryRecordNumber - cislo zaznamu
    string RelatedRecordID - volny parameter pre vyhladavanie (ID)
    string RelatedRecordType - volny parameter pre vyhladavanie (typ)
    string SpecificSymbol - specificky symbol
    PaymentState Status - stav platby
    string VariableSymbol - variabilny symbol
}

BankConnection := OLEAutoObject{"vs2012lib.IRSPServiceReference.BankConnection"}
BankConnection := VratTriedu_BankConnection()

BankConnection - bankove spojenie
{
    string AccountName - nazov uctu
    string AccountNumber - cislo uctu
    string AccountNumberPrefix - predcislie uctu
    string BankAddressLine - adresa
    string BankCode - kod banky
    string BankConnectionType - typ spojenia
    string BankName - nazov banky
    string BIC - BIC
    string IBAN - IBAN
    string SWIFT - SWIFT kod
}

Payer := OLEAutoObject{"vs2012lib.IRSPServiceReference.Payer"}
Payer := VratTriedu_Payer()

Payer - platitel
{
    string Address - adresa
    string City - mesto
    string CompanyID
    string CompanyName
    Country Country - stat
    string Email - e-mail
    string FirstName - meno
    string LastName - priezvisko
    string PersonalCardID - cislo OP
    string PersonalID - RC
    PersonType PersonType - typ osoby
    string PhoneNumber - telefonne cislo
    string PostalCode - PSC
}

enumerator Currency{EUR, Unknown} - mena
enumerator Country{SVK, Unknown} - stat
enumerator PersonType{Entrepreneur, Legal, Natural, Unknown} - typ osoby
enumerator PaymentState{Approved, Cancelled, Paid, Waiting} - stav platby

RegistryRecord := OLEAutoObject{"vs2012lib.IRSPServiceReference.RegistryRecord"}
RegistryRecord := VratTriedu_RegistryRecord()

RegistryRecord - registraturny zaznam
{
    string CorrespondenceType - typ korespondencie
    Dictionary<string,string> CustomParameters - volitelne parametre
	string FileID - cislo spisu
    string MessageID - ID spravy
	string RecipientID - ID adresata
	string Subject - vec/popis
}

RegistryFile := OLEAutoObject{"vs2012lib.IRSPServiceReference.RegistryFile"}
RegistryFile := VratTriedu_RegistryFile()

RegistryFile - spis
{
    Dictionary<string,string> CustomParameters - volitelne parametre
    string OwnerID - povodca spisu
	string RegistryMark - registraturna znacka
	string Subject - vec/popis
}

RegistryCredentials := OLEAutoObject{"vs2012lib.IRSPServiceReference.RegistryCredentials"}
RegistryCredentials := VratTriedu_RegistryCredentials()

RegistryCredentials - autentifikacia do reg.
{
    string UserName - prihlasovacie meno do reg.
	string Password - prihlasovacie heslo do reg.
}